<html>
<head>
<title>An Example of embeding MathEdit</title>
<script type="text/javascript" src="mathedit/mathplayer.js"></script>
<script type="text/javascript" src="mathedit/mathml-infix.js"></script>
<script type="text/javascript" src="mathedit/infix.js"></script>
<script type="text/javascript">
function bar( id )
{
	if ( document.getElementById( "a"+id ).firstChild.nodeValue == "show" )
	{
		document.getElementById( id ).style.display = "";
		document.getElementById( "a"+id ).firstChild.nodeValue = "hide";
	}
	else
	{
		document.getElementById( id ).style.display = "none";
		document.getElementById( "a"+id ).firstChild.nodeValue = "show";
	}
}
</script>

</head>

<body>
<iframe id="embed1" frameborder="0" width="850" height="480" scrolling="no"></iframe>
<script type="text/javascript">
 var matheditWin=new mathedit("matheditWin");
 matheditWin.set("customizable","0");
 matheditWin.set("mathURL","mathedit/mathedit.html");
 matheditWin.display("embed1");
</script>
</body>
</html>